home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / X11 / Xaw / SmeBSB.h < prev    next >
C/C++ Source or Header  |  2006-04-12  |  3KB  |  99 lines

  1. /*
  2.  * $Xorg: SmeBSB.h,v 1.4 2001/02/09 02:03:45 xorgcvs Exp $
  3.  *
  4. Copyright 1989, 1994, 1998  The Open Group
  5.  
  6. Permission to use, copy, modify, distribute, and sell this software and its
  7. documentation for any purpose is hereby granted without fee, provided that
  8. the above copyright notice appear in all copies and that both that
  9. copyright notice and this permission notice appear in supporting
  10. documentation.
  11.  
  12. The above copyright notice and this permission notice shall be included in
  13. all copies or substantial portions of the Software.
  14.  
  15. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  16. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  17. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
  18. OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  19. AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  20. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  21.  
  22. Except as contained in this notice, the name of The Open Group shall not be
  23. used in advertising or otherwise to promote the sale, use or other dealings
  24. in this Software without prior written authorization from The Open Group.
  25.  */
  26. /* $XFree86: xc/lib/Xaw/SmeBSB.h,v 1.6 2001/01/17 19:42:31 dawes Exp $ */
  27.  
  28. /*
  29.  * SmeBSB.h - Public Header file for SmeBSB object.
  30.  *
  31.  * This is the public header file for the Athena BSB Sme object.
  32.  * It is intended to be used with the simple menu widget.  This object
  33.  * provides bitmap - string - bitmap style entries.
  34.  *
  35.  * Date:    April 3, 1989
  36.  *
  37.  * By:      Chris D. Peterson
  38.  *          MIT X Consortium 
  39.  *          kit@expo.lcs.mit.edu
  40.  */
  41.  
  42. #ifndef _SmeBSB_h
  43. #define _SmeBSB_h
  44.  
  45. #include <X11/Xmu/Converters.h>
  46. #include <X11/Xaw/Sme.h>
  47.  
  48. /* BSB Menu Entry Resources:
  49.  
  50.  Name             Class        RepType        Default Value
  51.  ----             -----        -------        -------------
  52.  callback            Callback           Callback        NULL
  53.  destroyCallback     Callback        Pointer        NULL
  54.  font                Font               XFontStruct *   XtDefaultFont
  55.  foreground          Foreground         Pixel           XtDefaultForeground
  56.  height             Height        Dimension    0
  57.  label               Label              String          Name of entry
  58.  leftBitmap          LeftBitmap         Pixmap          None
  59.  leftMargin          HorizontalMargins  Dimension       4
  60.  menuName         MenuName        String        NULL
  61.  rightBitmap         RightBitmap        Pixmap          None
  62.  rightMargin         HorizontalMargins  Dimension       4
  63.  sensitive         Sensitive        Boolean        True
  64.  vertSpace           VertSpace          int             25
  65.  width             Width        Dimension    0
  66.  x             Position        Position    0
  67.  y             Position        Position    0
  68.  
  69. */
  70.  
  71. typedef struct _SmeBSBClassRec    *SmeBSBObjectClass;
  72. typedef struct _SmeBSBRec         *SmeBSBObject;
  73.  
  74. extern WidgetClass smeBSBObjectClass;
  75.  
  76. #define XtNleftBitmap "leftBitmap"
  77. #define XtNleftMargin "leftMargin"
  78. #define XtNrightBitmap "rightBitmap"
  79. #define XtNrightMargin "rightMargin"
  80. #define XtNvertSpace   "vertSpace"
  81.  
  82. #define XtNmenuName "menuName"
  83. #define XtCMenuName "MenuName"
  84.  
  85. #ifndef XtNfontSet
  86. #define XtNfontSet        "fontSet"
  87. #endif
  88.  
  89. #ifndef XtCFontSet
  90. #define XtCFontSet        "FontSet"
  91. #endif
  92.  
  93. #define XtCLeftBitmap "LeftBitmap"
  94. #define XtCHorizontalMargins "HorizontalMargins"
  95. #define XtCRightBitmap "RightBitmap"
  96. #define XtCVertSpace   "VertSpace"
  97.  
  98. #endif /* _SmeBSB_h */
  99.